﻿using System;

class quadraticEquation
{
    static void Main()
    {
        int a = int.Parse(Console.ReadLine());
        int b = int.Parse(Console.ReadLine());
        int c = int.Parse(Console.ReadLine());
        double x1, x2;
        x1 = (-b + Math.Sqrt((b * b) - (4 * a * c))) / (2 * a);
        x2 = (-b - Math.Sqrt((b * b) - (4 * a * c))) / (2 * a);
        Console.WriteLine("x1 = {0}", x1);
        Console.WriteLine("x2 = {0}", x2);
    }
}